package admin_role_menus

import (
	"time"
)

// 表名也是cache的tag
var TableName = "admin_role_menus"

// 角色权限表
type AdminRoleMenus struct {
	Id        int64
	RoleId    int64     `xorm:"int(11) notnull unique(role_menu) 'role_id'"`
	MenuId    int64     `xorm:"int(11) notnull unique(role_menu) 'menu_id'"`
	CreatedAt time.Time `xorm:"notnull created 'created_at'"`
	UpdatedAt time.Time `xorm:"null updated 'updated_at'"`
}
